import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/shop/shopSupplier/list',
method: 'get',
params: params
})
}
export function createShopSupplier(data) {
return request({
url: '/shop/shopSupplier/create',
method: 'post',
data: data
})
}

export function deleteShopSupplier(id) {
return request({
url: '/shop/shopSupplier/delete/' + id,
method: 'get',
})
}

export function getShopSupplier(id) {
return request({
url: '/shop/shopSupplier/' + id,
method: 'get',
})
}

export function updateShopSupplier(id, data) {
return request({
url: '/shop/shopSupplier/update/' + id,
method: 'post',
data: data
})
}

